<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<!--引入jquery资源-->
		<script src="${basePath}static/add_resource/js/bootstrap-3.3.7-dist/js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
		<!--引入bootstrap核心css-->
		<link rel="stylesheet" type="text/css" href="${basePath}static/add_resource/js/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
		<!--引入bootstrap核心js-->
		<script src="${basePath}static/add_resource/js/bootstrap-3.3.7-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		
	</head>
<body>
	<form class="form-horizontal" action="${basePath }doAddOp" method="post" enctype="multipart/form-data">
			<div class="form-group">
			</div>
			<div class="form-group">
				<label for="txtName" class="col-sm-2 control-label">用户名</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="opName" name="opName" placeholder="请输入用户名">
				</div>
				<label for="txtEmail" class="col-sm-2 control-label">密码</label>
				<div class="col-sm-3">
					<input type="password" class="form-control" id="opPsw" name="opPsw" placeholder="请输入密码">
				</div>
			</div>
			<div class="form-group">
				<label for="admincreatetime" class="col-sm-2 control-label">权限</label>
				<div class="col-sm-3">
					<label class="radio-inline">
  						<input type="radio" name="opPower" id="opPower1" value="0"> 操作员
					</label>
					<label class="radio-inline">
						<input type="radio" name="opPower" id="opPower2" value="2"> 管理员
					</label>
				</div>
				<label for="opSex" class="col-sm-2 control-label">性别</label>
				<div class="col-sm-3">
					<label class="radio-inline">
  						<input type="radio" name="opSex" id="opSex1" value="男"> 男
					</label>
					<label class="radio-inline">
						<input type="radio" name="opSex" id="opSex2" value="女"> 女
					</label>
				</div>
			</div>
			<div class="form-group">
				
				<label for="opTel" class="col-sm-2 control-label">联系方式</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="opTel" name="opTel" placeholder="请输入联系方式">
				</div>
				<label for="opDot" class="col-sm-2 control-label">所属网点</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="opDot" name="opDot" placeholder="请输入所属网点">
				</div>
			</div>
			<div class="form-group">
				<label for="opRealName" class="col-sm-2 control-label">真实姓名</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="opRealName" name="opRealName" placeholder="请输入真实姓名">
				</div>
				<label for="adminimg" class="col-sm-2 control-label">头像</label>
				<div class="col-sm-3">
				<!-- name属性值不能和实体bean的属性名一样，因为数据库保存的是 -->
					<input type="file" class="form-control" id="opHead" name="opHeadfile" >
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-4 col-sm-1">
					<button type="submit" class="btn btn-default">提&nbsp;&nbsp;交</button>
				</div>
				<div class="col-sm-offset-1 col-sm-1">
					<button type="reset" class="btn btn-default">取&nbsp;&nbsp;消</button>
				</div>
			</div>
		</form>
</body>
</html>